package com.hotel.mapper;

import com.hotel.entity.House;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 关注公众号：MarkerHub
 * @since 2020-10-19
 */
@Repository
public interface HouseMapper extends BaseMapper<House> {
//    public List<House> getAllHouse(@Param("name") String name, @Param("pageStart") int pageStart, @Param("pageSize") int pageSize);
//    public int getHouseCounts(@Param("name") String name);
//    public int addHouse(House house);
//    public House getUpdateHouse(int id);
//    public int editHouse(House house);
//    public int deleteHouse(int id);
}
